package com.wang.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 健康课堂表——王宇鑫
 * @TableName tb_course
 */
@TableName(value ="tb_course")
@Data
public class Course implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer courseId;

    /**
     * 课堂标题
     */
    private String courseTitle;

    /**
     * 1 文章 2录播
     */
    private Integer courseType;

    /**
     * 上传运营人员id
     */
    private Integer adminId;

    /**
     * 专家id
     */
    private Integer specialistId;

    /**
     * 需要的积分数
     */
    private Integer integral;

    /**
     * 
     */
    private Boolean delFlag;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    @TableField(exist = false)
    private List<CourseResource> resourceList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}